<?php
declare(strict_types=1);

namespace App\CallBacks;

use App\Runtime;
use Swoole\Timer;

class WorkerStop
{
    public function handle(\Swoole\Server $serv, int $wid): void
    {
//        printf("Thread start [%d]\n", Runtime::getThreadId());
        Timer::clearAll();
    }
}